import java.awt.Color;

public class HSVPixel 
{
	public class PixelHSV 
	{

	    public float h;
	    public float s;
	    public float v;

	    public PixelHSV(Pixel rgbPixel) 
	    {
	        float[] tempHsb = new float[3];
	        Color.RGBtoHSB(rgbPixel.r, rgbPixel.g, rgbPixel.b, tempHsb);
	        h = tempHsb[0];
	        s = tempHsb[1];
	        v = tempHsb[2];
	    }
	}
}
